<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.4"/>
<title>cmpesweng2013group3: javaProject Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">cmpesweng2013group3
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.4 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="classjava_project-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">javaProject Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Sample Java program using Eclipse, Git, Google Code and Doxygen written for CMPE 352 by Group 3.  
 <a href="classjava_project.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a0a4ad8d8932eac639efd943de5120746"><td class="memItemLeft" align="right" valign="top">static ArrayList&lt; Integer &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#a0a4ad8d8932eac639efd943de5120746">fibonacci</a> (int n)</td></tr>
<tr class="separator:a0a4ad8d8932eac639efd943de5120746"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae36f34d942a89a2b942781f13cdac81b"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#ae36f34d942a89a2b942781f13cdac81b">factorial</a> (int n)</td></tr>
<tr class="separator:ae36f34d942a89a2b942781f13cdac81b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec1b201ec1d060e6f8bccf64a51c54a7"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#aec1b201ec1d060e6f8bccf64a51c54a7">sqrtsum</a> (int n)</td></tr>
<tr class="separator:aec1b201ec1d060e6f8bccf64a51c54a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3920224fcf11a914f721a7413dd9f90f"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#a3920224fcf11a914f721a7413dd9f90f">negexpsum</a> (int n)</td></tr>
<tr class="separator:a3920224fcf11a914f721a7413dd9f90f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc402a55f7f05d6c32cd3441288dbc3e"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#afc402a55f7f05d6c32cd3441288dbc3e">cubes</a> (int n)</td></tr>
<tr class="separator:afc402a55f7f05d6c32cd3441288dbc3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b8850bdd9728daedc3963c1b9ac73d9"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#a2b8850bdd9728daedc3963c1b9ac73d9">sumOfEquallyFarProducts</a> (int n)</td></tr>
<tr class="separator:a2b8850bdd9728daedc3963c1b9ac73d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8488e30c8dcf0ebe74208dcab47401bc"><td class="memItemLeft" align="right" valign="top">static ArrayList&lt; Integer &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#a8488e30c8dcf0ebe74208dcab47401bc">multiplesOfThree</a> (int n)</td></tr>
<tr class="separator:a8488e30c8dcf0ebe74208dcab47401bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50c8e66bd28f0551df55713353102aa5"><td class="memItemLeft" align="right" valign="top">static double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#a50c8e66bd28f0551df55713353102aa5">geometricMean</a> (int n)</td></tr>
<tr class="separator:a50c8e66bd28f0551df55713353102aa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad623ca58452ab6a3de545854a11349f0"><td class="memItemLeft" align="right" valign="top">static ArrayList&lt; Integer &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#ad623ca58452ab6a3de545854a11349f0">primes</a> (int number)</td></tr>
<tr class="separator:ad623ca58452ab6a3de545854a11349f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1960320124b114ddf3352977e4575f23"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#a1960320124b114ddf3352977e4575f23">main</a> (String[] args)</td></tr>
<tr class="separator:a1960320124b114ddf3352977e4575f23"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a9f890843a4da98b2d8fd008ef8085fc6"><td class="memItemLeft" align="right" valign="top">static Scanner&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjava_project.html#a9f890843a4da98b2d8fd008ef8085fc6">sc</a> = new Scanner(System.in)</td></tr>
<tr class="separator:a9f890843a4da98b2d8fd008ef8085fc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Sample Java program using Eclipse, Git, Google Code and Doxygen written for CMPE 352 by Group 3. </p>
<dl class="section author"><dt>Author</dt><dd>Eralp Bayraktar, Cafer Caferov, Fazilet Cilli, Huseyin Demirtas, Rasit Mete Esrefoglu, Utku Mert, Setenay Ronael, Ozan Yalcin for cmpesweng2013group3 </dd></dl>
<dl class="section date"><dt>Date</dt><dd>May 2013 </dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00009">9</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="afc402a55f7f05d6c32cd3441288dbc3e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int javaProject.cubes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This method outputs the sum of cubes of the numbers from 1 to given number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00086">86</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>, and <a class="el" href="java_project_test_8java_source.html#l00075">javaProjectTest.testCubes()</a>.</p>

</div>
</div>
<a class="anchor" id="ae36f34d942a89a2b942781f13cdac81b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int javaProject.factorial </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This method returns the factorial of the given number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00042">42</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>, and <a class="el" href="java_project_test_8java_source.html#l00043">javaProjectTest.testFactorial()</a>.</p>

</div>
</div>
<a class="anchor" id="a0a4ad8d8932eac639efd943de5120746"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ArrayList&lt;Integer&gt; javaProject.fibonacci </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This method outputs the first n Fibonacci numbers. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>arrlist </dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00021">21</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>, and <a class="el" href="java_project_test_8java_source.html#l00029">javaProjectTest.testFibonacci()</a>.</p>

</div>
</div>
<a class="anchor" id="a50c8e66bd28f0551df55713353102aa5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static double javaProject.geometricMean </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This method outputs the geometric Mean of the series from 1 to given number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00137">137</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>, and <a class="el" href="java_project_test_8java_source.html#l00116">javaProjectTest.testGeometricMean()</a>.</p>

</div>
</div>
<a class="anchor" id="a1960320124b114ddf3352977e4575f23"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void javaProject.main </td>
          <td>(</td>
          <td class="paramtype">String[]&#160;</td>
          <td class="paramname"><em>args</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This is the starting point where user enters an integer to select a method of his/her choosing. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">args</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00197">197</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>References <a class="el" href="java_project_8java_source.html#l00086">cubes()</a>, <a class="el" href="java_project_8java_source.html#l00042">factorial()</a>, <a class="el" href="java_project_8java_source.html#l00021">fibonacci()</a>, <a class="el" href="java_project_8java_source.html#l00137">geometricMean()</a>, <a class="el" href="java_project_8java_source.html#l00122">multiplesOfThree()</a>, <a class="el" href="java_project_8java_source.html#l00071">negexpsum()</a>, <a class="el" href="java_project_8java_source.html#l00150">primes()</a>, <a class="el" href="java_project_8java_source.html#l00013">sc</a>, <a class="el" href="java_project_8java_source.html#l00056">sqrtsum()</a>, and <a class="el" href="java_project_8java_source.html#l00101">sumOfEquallyFarProducts()</a>.</p>

</div>
</div>
<a class="anchor" id="a8488e30c8dcf0ebe74208dcab47401bc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ArrayList&lt;Integer&gt; javaProject.multiplesOfThree </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This method outputs the numbers that can be divided to "3" in the series from 0 to given number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00122">122</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>, and <a class="el" href="java_project_test_8java_source.html#l00093">javaProjectTest.testMultiplesOfThree()</a>.</p>

</div>
</div>
<a class="anchor" id="a3920224fcf11a914f721a7413dd9f90f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static double javaProject.negexpsum </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This method outputs the sum of the numbers to power of "-1" from 1 to given number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00071">71</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>, and <a class="el" href="java_project_test_8java_source.html#l00065">javaProjectTest.testNegexpsum()</a>.</p>

</div>
</div>
<a class="anchor" id="ad623ca58452ab6a3de545854a11349f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ArrayList&lt;Integer&gt; javaProject.primes </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>number</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This method returns the prime numbers in the series from 1 to given number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">number</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00150">150</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>, and <a class="el" href="java_project_test_8java_source.html#l00126">javaProjectTest.testPrimes()</a>.</p>

</div>
</div>
<a class="anchor" id="aec1b201ec1d060e6f8bccf64a51c54a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int javaProject.sqrtsum </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This method returns the sum of squares of the numbers from 1 to given number. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00056">56</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>, and <a class="el" href="java_project_test_8java_source.html#l00052">javaProjectTest.testSqrtsum()</a>.</p>

</div>
</div>
<a class="anchor" id="a2b8850bdd9728daedc3963c1b9ac73d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static int javaProject.sumOfEquallyFarProducts </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>)</td><td></td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>This method returns the sum of products of equally far from the center of the series beginning from 1 to given number (e.g. for a given number 20, it returns 1x20 + 2x19 + 3x18 +..... + 10x11). </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">n</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd></dd></dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00101">101</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>, and <a class="el" href="java_project_test_8java_source.html#l00082">javaProjectTest.testSumOfEquallyFarProducts()</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a9f890843a4da98b2d8fd008ef8085fc6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Scanner javaProject.sc = new Scanner(System.in)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">args</td><td></td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="java_project_8java_source.html#l00013">13</a> of file <a class="el" href="java_project_8java_source.html">javaProject.java</a>.</p>

<p>Referenced by <a class="el" href="java_project_8java_source.html#l00197">main()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="java_project_8java_source.html">javaProject.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Mon May 20 2013 14:47:52 for cmpesweng2013group3 by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.4
</small></address>
</body>
</html>
